package io.alvin.highlight_spring4.ch3.taskscheduler;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 通过@EnableScheduling注解开启对计划任务的支持。
 *
 * Created by Alvin on 2017/8/2.
 */
@Configuration
@ComponentScan("io.alvin.highlight_spring4.ch3.taskscheduler")
@EnableScheduling
public class TaskSchedulerConfig {
}
